package com.fs.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.fs.pojo.WhInvInventory;
import com.fs.vo.Condition;
import com.fs.vo.ResponseData;
import com.github.pagehelper.PageInfo;

/**
 * @author yyds
 * @fileName InventoryService
 * @date 2024/10/11 14:33
 * @description
 **/
public interface InventoryService {
     /**
      * 分页查询盘点单
      *
      * @param condition
      * @return date
      */
     PageInfo<WhInvInventory> selectAll(Condition<WhInvInventory> condition);
     /**
      * 新增盘点单
      *
      * @param condition
      * @return yes/no
      */
     Boolean  addInventory(Condition<WhInvInventory> condition);
     /**
      * 根据编号删除盘点单
      * @param id
      * @return yes/no
      */
     Boolean deleteInventory(Integer id);
     /**
      * 根据编号修改盘点单
      * @param condition
      * @return
      */
     Boolean updateInventory(Condition<WhInvInventory> condition);

     /**
      * 查询最大id
      * @return
      */
     Integer maxID();

     /**
      * 根据ID获取对象
      * @param id
      * @return
      */
     WhInvInventory selectById(Integer id);
}
